package com.weigang.mybatis.mapper1;

import com.weigang.mybatis.entity.HrUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HrUserMapper1 {

    //添加数据
    int addUser(HrUser userEntity);

    //删除数据
    int deleteUserById(Integer id);

    //修改数据
    int updateUserById(HrUser userEntity);

    //查询单条数据
    HrUser getUserById(int id);

    //获取用户列表
    List<HrUser> selectAllUser();

}

